#include "StackUnit.h"

void infix2Postfix::outputHigherOrEqual(const expressionSymbol& op)
{
    expressionSymbol op2;

    while (!operatorStack.empty() && (op2=operatorStack.top())>=op)
    {
        operatorStack.pop();
        postfixExpression += op2.getOp();
        postfixExpression += ' ';
    }
}